/////////////////////////////////////////////////////////////////////////////
// Name:        PropertiesNotebook.h
// Purpose:     
// Author:      yospaly
// Modified by: 
// Created:     24/12/2008 16:59:25
// RCS-ID:      
// Copyright:   Copyright (C) 2008, yospaly
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _PROPERTIESNOTEBOOK_H_
#define _PROPERTIESNOTEBOOK_H_


/*!
 * Includes
 */

////@begin includes
#include "wx/aui/auibook.h"
#include "wx/html/htmlwin.h"
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
class wxHtmlWindow;
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_PROPERTIES_NOTEBOOK 10017
#define ID_DESC_HTMLWND 10014
#define ID_DEPEND_HTMLWND 10018
#define ID_HTMLWINDOW 10020
#define ID_DETAIL_HTMLWND 10019
#define ID_CITRUSLOG_TEXTCTRL 10045
#define SYMBOL_PROPERTIESNOTEBOOK_STYLE wxAUI_NB_TOP
#define SYMBOL_PROPERTIESNOTEBOOK_IDNAME ID_PROPERTIES_NOTEBOOK
#define SYMBOL_PROPERTIESNOTEBOOK_SIZE wxDefaultSize
#define SYMBOL_PROPERTIESNOTEBOOK_POSITION wxDefaultPosition
////@end control identifiers


/*!
 * PropertiesNotebook class declaration
 */

class PropertiesNotebook: public wxAuiNotebook
{    
    DECLARE_DYNAMIC_CLASS( PropertiesNotebook )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    PropertiesNotebook();
    PropertiesNotebook(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxAUI_NB_DEFAULT_STYLE);

    /// Creation
    bool Create(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxAUI_NB_DEFAULT_STYLE);

    /// Destructor
    ~PropertiesNotebook();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin PropertiesNotebook event handler declarations

    /// wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED event handler for ID_PROPERTIES_NOTEBOOK
    void OnPageChanged( wxAuiNotebookEvent& event );

////@end PropertiesNotebook event handler declarations

////@begin PropertiesNotebook member function declarations

    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end PropertiesNotebook member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin PropertiesNotebook member variables
    wxHtmlWindow* p_desc_htmlwnd;
    wxHtmlWindow* p_depend_htmlwnd;
    wxHtmlWindow* p_files_htmlwnd;
    wxHtmlWindow* p_detail_htmlwnd;
    wxTextCtrl* p_citruslog_textctrl;
////@end PropertiesNotebook member variables
public :
	void OnPkgProperties(wxCommandEvent &event);
};


#endif
    // _PROPERTIESNOTEBOOK_H_
